/**
 * <p>Title: SequenceDao</p>
 * <p>Description: SequenceDao，用于自增id</p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2016</p>
 * <p>Company: Baosight Software</p>
 * @author Huang Zhong wei
 * @version 1.0
 * <pre>Histroy:
 *       2016-10-10  Huang Zhong wei  Create
 *</pre>
*/
package cn.jhg.account.persist;

public interface SequenceDao {
	/**
	 * 获取当前id值
	 * 
	 * @param name	String
	 * @return id   int
	 */
	public int currval(String name);
	/**
	 * 返回下一个id值
	 * 
	 * @param name	String
	 * @return id   int
	 */
	public int nextval(String name);
	/**
	 * 更新id值
	 * 
	 * @param name	String
	 * @return 更新行数   int
	 */
	public int getNextval(String name);
}

